package com.bk.entity;

import java.io.Serializable;

/**卡号信息  @author czl*/
public class CardInfo implements Serializable{
	
	/**卡序列*/
	private int cardNum;
	/**身份证号*/
	//private String uid;
	/**卡号*/
	private String cardId;
	/**每张卡对应的卡号*/
	private String cardPassword;
	/**用户信息  包含身份证*/
	private UserInfo userInfo;
	/**卡是否被冻结   0为未冻结  1为冻结*/
	private int cardLock;
	/**当前账户创建时间*/
	private String tcreateTime;
	

	public CardInfo() {
		super();
	}
	
	public CardInfo(int cardNum, String cardId, String cardPassword, UserInfo userInfo, int cardLock, String tcreateTime) {
		super();
		this.cardNum = cardNum;
		this.cardId = cardId;
		this.cardPassword = cardPassword;
		this.userInfo = userInfo;
		this.cardLock = cardLock;
		this.tcreateTime = tcreateTime;
	}

	public int getCardNum() {
		return cardNum;
	}
	public void setCardNum(int cardNum) {
		this.cardNum = cardNum;
	}
	public String getCardId() {
		return cardId;
	}
	
	public String getCardPassword() {
		return cardPassword;
	}

	public void setCardPassword(String cardPassword) {
		this.cardPassword = cardPassword;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}
	public UserInfo getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}
	
	public int getCardLock() {
		return cardLock;
	}

	public void setCardLock(int cardLock) {
		this.cardLock = cardLock;
	}

	public String getTcreateTime() {
		return tcreateTime;
	}
	public void setTcreateTime(String tcreateTime) {
		this.tcreateTime = tcreateTime;
	}

	@Override
	public String toString() {
		return "CardInfo [cardNum=" + cardNum + ", cardId=" + cardId + ", cardPassword=" + cardPassword + ", userInfo="
				+ userInfo + ", cardLock=" + cardLock + ", tcreateTime=" + tcreateTime + "]";
	}
	

}
